package com.shierke.Ume.ui.activity.explore

import android.app.Activity
import android.content.Context
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import com.shierke.Ume.R
import com.shierke.Ume.base.BaseDialogActivity
import com.shierke.Ume.base.BaseNoTitleActivity
import com.shierke.Ume.ui.adapter.explore.EcploreDiscussAdapter
import com.shierke.Ume.util.click
import com.shierke.Ume.util.startActivity
import kotlinx.android.synthetic.main.activity_explore_invitation_discuss.*

/**
 * Create by Ybx
 * on 2020-10-16
 * Desribe:
 *帖子评论
 */
class ExploreInvitationDiscussActivity : BaseDialogActivity() {


    companion object {

        fun startActivity(context: Context) {
            context.startActivity<ExploreInvitationDiscussActivity>()
            var activity = context as Activity
            activity.overridePendingTransition(R.anim.report_cause_in, 0)
        }
    }


    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_explore_invitation_discuss)
        setStatusBarTransparentAndFullScreen(this)


        close.click { finish() }

        val ecploreDiscussAdapter = EcploreDiscussAdapter()
        discussList.apply {
            layoutManager = LinearLayoutManager(this@ExploreInvitationDiscussActivity)
            adapter = ecploreDiscussAdapter
        }


    }


}